037 timers
你好,在这个视频中,我们将学习时间的OK,T on T of T on R和T人的时间,或者首先,我们将学习定时器上的延迟时间T。
Hello, in this video, we are going to learn time's OK, T on T of T on R and T people's time, or first of all, we will learn on delay time a T on timer.
让我们开始吧,我将为我的计时器添加一个输入。
Let's start I will add one input for my timer and.
计时器上的功能框,我将为计时器上的这个键命名,如下所示,让我们继续,我将听到 5.0。
Function box t on timer and I will give a name to this key on timer like this and let's continue and I will get to hear and 5.0.
好的,这就是开始。
OK, this is the start.
例如,五秒和 M 零点和 Q 零点一。
And for example, five second and M the zero and Q zero point one that.
这是正确的。
That's correct.
让我们成功吧。
And let's make it.
大一点点。
A little bit bigger.
Tiger 希望轻松地看到它们,我将启动我的模拟器,我们将一一查看这些计时器如何工作以及这些计时器如何反应。
Tiger wants to see them all easily, and I will start my simulator and one by one we will see how these timers are working and how these timers are reacting.
学习。
Learn.
现在让我们搜索我们的模拟器。
Let's search our simulator now.
我们正在搜索这个模拟器。
We are searching this simulator and.
现在可以。
OK, now.
该项目将下载这个模拟器,现在我们要做什么?
The project is going to do a download this simulator and now what will we do?
我会说启动模块。
I will say start modules.
现在就要开始了,我们现在就处于这种情况。
Now it is going to be to started and we are on situation now.
我将打开监控模式,并在五秒、两秒、三秒和四秒后激活此输入。
I will open my monitoring mode and I will activate this input after five seconds and two and three and four.
我们将得到这个输出。
And we will get this output.
你可以看到。
You can see it.
现在这个可以响了,它被停止了,计时器又被重置了,修改为一。
And this one can go off now and it is stopped and the timer is reset it again, modify to one.
我们有一个输入,但该输入仍为零。
We have an input and this input goes of still zero.
突然它被重置了。
Suddenly it it is reset it.
如果我说五秒后我们将得到这个计时器,然后让我们继续第二个计时器,好的。
And if I say to one after five seconds we will get this timer and let's continue to second timer, OK.
我将删除这一件又一件的事情,我们的强计时器的 T 的工作方式将与计时器上的 T 在十点零时不同。
I will delete this one and one more thing, T of T of our tough timer is going to be work different with the T on timer at ten point zero.
开球的时候,我们会得到输入,在这个输入成本之后,就会开始计算和。
And tee off time, we will get input and after this input costs of this time, it is going to start to count and.
我们可以给零点二起这样的名字,例如,再五秒,我就是那个。
We can give a name like this to zero point two, for example, five second again, and I'm the one.
好的,让我们继续,我将把这个项目下载到我的模拟器上,现在我正在加载,好吗?
OK, let's continue and I will do a download this project to my simulator now I am loading, OK?
而且这个输入将会很高。
And this input is going to go to be high.
现在我们有了一个输出,突然我们有了一个输出,但是计时器没有计数,我们需要等待比这个输入成本多五秒的时间。
Now we have an output, suddenly we have an output, but the timer is not counting, we need to wait five seconds than this input costs.
它开始计数,这个输入突然出现,它被重置,你看到我们仍然有一个输出,这使得这个输入到 of ,并且在每一侧下降之后,这个计数器我很抱歉。
Of and it started to count and this input comes suddenly and it is reset that you see still we have an output and this make this input to of and after falling each side, this counter I'm sorry.
这次这次完成了,好吧,它开始了,五秒后我们没有输出。
This time this time is finished, OK, it started and after five seconds we have no output.
这就是定时器的使用类型。
This is the type of timer usage.
再次,我们突然输出了一个,让我们把它关闭。
Again, one we have suddenly output and let's make it off.
这个计时器正在工作,让我们开始第三个计时器,保罗的计时器,根据保罗的输入,它会工作,好的。
And this timer is working and let's go the third timer, Paul's timer, according to input Paul's it will work, OK.
首先,延迟这个输入和部分定时器和输出计划,让我们保持定时器和十五点零零五秒并amde这两个。
This first of all, delay this one and input and part timer and output plan, let's keep keep a timer and and fifteen point zero and five second and amde the two.
Q 零点三。
And Q zero point three.
现在我想做一个下载。
Now I want to do a download.
一致下载,让我们开始兼职,一个脉冲将变高,正义输入在一个脉冲后变高。
And consistent download and let's start to part-timer, one pulse will goes high, justice input goes high after a one pulse.
这一次,又会突然发生什么事呢?
This time, what is going to start suddenly?
我们测试一次吧。
Let's test once.
当然,它仍然是合法的并且被计数,五秒后输出再次重置,也许我们可以这样说。
And of OK, it's remained it's legit and it's counted, and after five second output is reset again, maybe we can say to it like this.
例如,我们可以说。
For example, we can say.
像这样十七点零,好吧,每个脉冲只有一个上升。
Seventeen point zero like this, OK, just one pulse rising each.
了解保罗·西蒙 (Paul Simon) 是如何开展这项工作并进行监控的。
To understand how Paul Simon is working this one and monitoring and monitor.
对于一,好的,只需一次通过,五秒后现在正在计数,我们还没有,但是好的,这是在 Seimas S7 中运行或工作的部分计时器 1200 个脉冲。
To one, OK, just one pass, it's counting now after five seconds, we have not, but OK, this is the part timer running or working in Seimas S7 one thousand two hundred pulses.
还有最后一张。
And the last one.
在我们的计时器上。
T on our timer.
所以这次我们的 K the Armin 的重置需要一个重置键。
So this time it is going to be need a reset key on our K the Armin's reset.
我现在是零二十点,理查德·M..
And I'm twenty point zero and Richard M..
例如,二十五点零,我们需要时间五秒,再次使用和三。
Twenty five point zero, for example, and we need a time five second again use and three.
对你来说,零点四。
And to you, zero point four.
好吧,现在会发生什么?
OK, what will happen now?
我们会给出一个输入,根据我们这个输入的时间,要读什么?
We will give an input, according to this input on our time, what is going to read?
我们将得到这个输出,并且在完成后这将是合法的,或者在我们重置此输出后,该输出的输入也将启动。
And we will we will have this output and this will be legit after this time it is finished or this input goes of this output will be launched also after we reset this.
输入或二十五点零将变高,该输出将被重置。
Input or twenty five point zero is going to be high, this output will be resettled.
那么我们就尝试一次吧。
So let's try once.
它是否正常工作?
Is it working correctly or not?
现在,我将做到这一点。
Now, I will make it to one.
再说一遍,一好,就指望五秒后,我这样说的话就很高了,投入成本还是很高的。
Again, and one OK, it is counting on after five seconds, this will be high if I say this, input costs of still high.
你可以看看我是否再次激活它,仍然很高。
You can see if I activate it again, still high.
没有任何变化,好吧,因为这个计时器现在是合法的,五秒后我们就有了输出。
There is nothing is changing, OK, because this timer is legit now and five seconds and we have an output.
如果我激活此重置输入,它就会被激活。
If I activate this reset input, it's activated.
好的,现在是这样,并且已重置。
OK, this is true now and it is reset.
如果我激活这个,它就不算数。
And if I activate this one, it is not counting.
为什么?
Why?
因为复位输入仍然是高电平。
Because reset input is still high.
如果我说所有这些都在计数,五秒钟后我们将得到这个输出,并且它将再次关闭。
If I say all of it is counting and after five seconds we will get this output and it will be again and off.
让我们尝试一次两次。
And let's try once two.
一。
One.
没有任何变化,它会切换 disvalue 并再次切换 disvalue 并监视未磨损的情况。
Nothing is changing, and it toggle disvalue and toggle disvalue again and monitor unworn and.
我需要成为海蒂,再次抱歉。
I need to be Heidi, sorry again.
测试一次。
Test once.
如果我激活到零,好的,你可以看到它停止了,五秒后一直计数到五秒。
If I activate to zero, OK, you can see it stopped, it is counting till five second after five seconds.
这个输出会更少,但现在它作为累积计时器或剩余计时器工作。
This output will be less, but now it is working as a cumulative timer or remaining timer.
OK,返回到这个定时器块内的内存。
OK, return to memory inside this timer block.
如果我说。
If I say.
继续,三、四、五,然后我们就有了合法的输出,这就是计时器在我们的门户中工作的方式,并且我们的 A.P. 上有 T on T of T。
Go ahead, and three and four and five, then we have legit output, this is how timers are working in our portal and we have T on T of T on our A.P.
所以关于延迟和延迟。
So on delay and of delay.
这是最后一个,也有复位输入定时器和部分定时器。
And this is the last and also have reset input timer and part timer.
好的,我们有四种类型的计时器,我们可以将它们全部用于门户和数据块。
OK, we have four type timer and we can use them all into a portal and the data blocks.
这是我们在门户内部或我们的程序中插入此函数或此计时器的时候。
This is when we inserted this function or this timer inside of the portal or in our programs.
它带有数据块,我们在这里给出数据块的名字。
It is coming with data blocks and we are giving a data bloke's name in here.
好的,这是系统块。
OK, this is system blocks.
也许我们可以看一下。
Maybe we can just take a look.
好的,您可以在这里看到完整的计时器数据块。
OK, you can see complete timers data blocks in here.
如果您离开,请单击它。
If you left, click it.
如果您查看此处,也可以在此处监控数据。
You can monitor the data also in here if you look to here.
你可以看到其中的一切、所有细节。
You can see everything, all details in it.
另外,我已经完成了这个视频。
Also, I am finished for this video.
下一个视频见。
See you in the next video.